package study.saas.order.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import study.saas.common.viewmodel.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "lottery",indexes = {
        @Index(name = "lottery_id", columnList = "id"),
})
@ApiModel

public class Lottery extends BaseEntity {
    @Column
    @ApiModelProperty(value = "抽奖id")
    private Integer id;

    @Column
    @ApiModelProperty(value = "中奖雇员id")
    private String employee_id;

    @Column
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
}

